// 解决后端跨域问题
module.exports = {
  devServer: {
      proxy: {  //配置跨域
        '/api/*': {
          target: 'http://localhost:8088/CommunityManagement',  
          changOrigin: true,  //允许跨域 
          pathRewrite: {
            '^/api':'' 
          }
        },
        '/qiniu':{
          target: 'http://localhost:8088',
          changOrigin: true,  //允许跨域
          pathRewrite: {
         
            '^/qiniu':'' 
        }
      },
      }
    },
}